Haven't been on this forum in a while and realized I never posted the fix for this - sorry!
Although the script fully works with the latest IPB, this bug still exists, so here's the fix:
Open classes/sources/Forum/Invision_Power_Board_2.1.php
Find (around line 100):
Code:
// Prepare WHERE clause
$WHERE = "forum_id='" . implode("' or forum_id='", $ids_to_fetch) . "'";
// Pull from database
$this->DB->query("SELECT tid, title, posts, starter_id, start_date, starter_name, views, forum_id FROM " . $this->DB->prefix . "topics WHERE ". $WHERE ." ORDER BY tid DESC LIMIT " . $number_to_fetch);
Replace with:
Code:
// Prepare WHERE clause
$WHERE = "(forum_id='" . implode("' or forum_id='", $ids_to_fetch) . "') AND moved_to IS NULL";
// Pull from database
$this->DB->query("SELECT tid, title, posts, starter_id, start_date, starter_name, views, forum_id, moved_to FROM " . $this->DB->prefix . "topics WHERE ". $WHERE ." ORDER BY tid DESC LIMIT " . $number_to_fetch);